package com.iplatform.file.function.resourcedata.entity;

import com.iplatform.module.annotation.KeyId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @className: MenuBean
 * @description: TODO 类描述
 * @author: chensk
 * @date: 2020/12/3
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuBean implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = -2204208429511029396L;
	/**
     * 主键
     */
	@KeyId
    @ApiModelProperty(value = "主键Id")
    private Long id;
    /**
     * 父菜单
     */
    @ApiModelProperty(value = "上级目录ID")
    private Long parentId;
    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "目录名称")
    private String MenuName;

    private List<MenuBean> child;

    public List<MenuBean> getChild() {
        return child;
    }

    public void setChild(List<MenuBean> child) {
        this.child = child;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getMenuName() {
        return MenuName;
    }

    public void setMenuName(String MenuName) {
        this.MenuName = MenuName;
    }
}
